﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZoneLine.Models
{
    public class StationConfigBase : ObservableObject
    {
        private string _ip;

        public string Ip
        {
            get { return _ip; }
            set => SetProperty(ref _ip, value);
        }

        private string _readStartAddr;

        public string ReadStartAddr
        {
            get { return _readStartAddr; }
            set => SetProperty(ref _readStartAddr, value);
        }

        private string _endUploadCodedAddr;

        public string EndUploadCodeAddr
        {
            get { return _endUploadCodedAddr; }
            set => SetProperty(ref _endUploadCodedAddr, value);
        }

        private string _endUploadDataAddr;

        public string EndUploadDataAddr
        {
            get { return _endUploadDataAddr; }
            set => SetProperty(ref _endUploadDataAddr, value);
        }


        private string _allowWorkAddr;

        public string AllowWorkAddr
        {
            get { return _allowWorkAddr; }
            set => SetProperty(ref _allowWorkAddr, value);
        }

    }
}
